package org.jeecg.modules.demo.demo.service.impl;

import org.jeecg.modules.demo.demo.entity.PuContract;
import org.jeecg.modules.demo.demo.mapper.PuContractMapper;
import org.jeecg.modules.demo.demo.service.IPuContractService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Description: pu_contract
 * @Author: jeecg-boot
 * @Date:   2021-11-24
 * @Version: V1.0
 */
@Service
public class PuContractServiceImpl extends ServiceImpl<PuContractMapper, PuContract> implements IPuContractService {

    @Resource
    private PuContractMapper puContractMapper;
    @Override
    public PuContract getBysoConNo(String soConNo) {
        return puContractMapper.getBysoConNo(soConNo);
    }

    @Override
    public List<Map<String, String>> getisMymLessee(String maisdwmc, String chumdwmc) {
        return puContractMapper.getisMymLessee(maisdwmc, chumdwmc);
    }
}
